package 算法.src;

import java.util.List;

import 算法.lib.*;

public class App {
    public static void main(String[] args) throws Exception {
        LengthAfterTransformations2 lengthAfterTransformations2 = new LengthAfterTransformations2();
        String s = "abcyy";
        int t = 2;
        List<Integer> nums = List.of(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2);
        int result = lengthAfterTransformations2.lengthAfterTransformations2(s, t, nums);
        System.out.println(result);
    }
}